<style type="text/css">
.storelogo img{width:3.2rem;height:3.2rem}
.merchgroup .store-star {padding:0.1rem 0 0.2rem 0;font-size:0.55rem;line-height:1rem}
.merchgroup .store-star img{height:0.66rem}
.star-on,.star-off{position:absolute;top:1rem;left:0;overflow:hidden}
.star-rate {margin-left:3.6rem}
.store-distance{float:right;color:#999}
.store-moneylimit{font-size:0.55rem}
.colltime {
	text-align: center;
	margin: 0 0.2rem;
	width: 35px;
	height: 35px;
	font-size:12px;
	color:	#C0C0C0;
}
.collchecked {
	background:none;
	color:#000000;
	border-bottom:1px solid #000000;
}
</style>
<div class="fui-page order-create-page fui-page-current" ng-if="pagedata.op == 'main'">
	<div class="fui-content">
		<div class="xcontainer weui_cells_radio3" style="z-index:0;padding:0.3rem;width:100%;display:flex">
			<label class="jyui_cell_col" ng-repeat="item in pagedata.data" style="flex:auto;">
				<div ng-class="{'colltime':1,'collchecked':pagedata.post.weekid==item.weekid}"  ng-click="pagedata.getdata(item.weekid);">
					<div class="timetitle"><span>{{item.xinq}}</span></div>
					<div class="timetitle"><span>共{{item.num}}节</span></div>
				</div>
			</label>
		</div>
		<div class="weui_cells_title bold">{{pagedata.lesson.title}}</div>
		<div class="c" style="font-size:10px;background:#D3D3D3;height:24px;line-height:24px;">下面是排课情况</div>
		<div class="fui-list-group order-item" ng-repeat="item in pagedata.list">
                <a class="fui-list external" style="padding: 0.42rem 0.5rem" data-nocache="true">
                    <div class="fui-list-inner">
                         <i class="icon icon-dianpu"></i> {{item.store.title}}
                    </div>
                    <div class="row-remark text-cancel" style="width: 4rem; font-size: 0.65rem;text-align: right;">{{item.statustitle}}</div>
                    <div class="angle"></div>
                </a> 
                <a href="" class="external">
                        <div class="fui-list goods-list">
                            <div class="fui-list-media" style="">
                                <img class="" ng-src="{{tomedia(item.worker.headimg) || '../core/resource/images/nopic.jpg'}}">
                            </div>
                            <div class="fui-list-inner">
								<div class="text bold">讲师：{{item.worker.name}}</div>
								<div class="text" style="color:#f60;font-size:0.60rem">上课时间：{{item.ontime}}</div>
								<div class="text" style="color:#f60;font-size:0.60rem">校区地址：[{{item.area_title}}] {{item.store.address}}</div>
                            </div>
                        </div>
                </a>
        </div>
		<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0 ">
		  <i class="icon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;font-size:2rem"></i><br/><p style="color: #999;font-size: .75rem">暂时没有排课！</p>
		</div>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('jy_kexie/lesson_pai/get_lesson/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_kexie/lesson_pai/get_lesson/weekid='+scope.pagedata.post.weekid);
}
scope.pagedata.getdata=function(weekid){
	scope.pagedata.post.weekid=weekid
	scope.tool.get_list('jy_kexie/lesson_pai/get_lesson/weekid='+scope.pagedata.post.weekid,true);
}
</script>